package com.pojocreator.common;

import java.sql.Blob;
import java.sql.Clob;
import java.sql.Date;
import java.sql.Timestamp;

public class CommonConstants {
	//Strings to match
	public static final String ORACLE_DATATYPE_VARCHAR_VALUE="CHAR";
	public static final String ORACLE_DATATYPE_INT_VALUE="NUMBER";
	public static final String ORACLE_DATATYPE_DATE_VALUE="DATE";
	public static final String ORACLE_DATATYPE_TIMESTMP_VALUE="TIMESTAMP";
	public static final String ORACLE_DATATYPE_CLOB_VALUE="CLOB";
	public static final String ORACLE_DATATYPE_BLOB_VALUE="BLOB";
	
	//Corresponding CLASS mapping
	public static final Class<?> ORACLE_DATATYPE_VARCHAR_CLASS=String.class;
	public static final Class<?> ORACLE_DATATYPE_INT_CLASS=int.class;
	public static final Class<?> ORACLE_DATATYPE_DATE_CLASS=Date.class;
	public static final Class<?> ORACLE_DATATYPE_TIME_STAMP_CLASS=Timestamp.class;
	public static final Class<?> ORACLE_DATATYPE_CLOB_CLASS=Clob.class;
	public static final Class<?> ORACLE_DATATYPE_BLOB_CLASS=Blob.class;
	
	public enum Datatype {
		VARCHAR,INT,DATE,TIMESTMP,CLOB,BLOB
	}

}
